<!--
 * @Author: 丁建行 jianxing.ding@leadchina.cn
 * @Date: 2023-04-24 20:58:35
 * @LastEditors: 丁建行 jianxing.ding@leadchina.cn
 * @LastEditTime: 2023-04-25 20:02:07
 * @FilePath: \eap-web\src\views\login\ssocallback.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div>
    <h1>LoginOut</h1>
    <el-skeleton :rows="12" animated />
  </div>
    
</template>
<style>
body {
  margin: 0;
}
</style>
<script>
  import Oidc from 'oidc-client';
  import axios from "axios";
  import jsCookie from 'js-cookie'
  import { Loading } from 'element-ui';
  export default {
    name: 'ssologinoutView',
    methods: {
      
    },
    mounted () {
       let loadingInstance = Loading.service({ fullscreen: true });
        console.log('ssologinoutView.vue finish re-render')
        //清理登录todo
        axios.defaults.headers.common['Authorization'] = '';
        localStorage.removeItem('Authorization');
        localStorage.removeItem('AuthMode');
        jsCookie.set('Authorization','')
        console.log('ssologinout Ready')
        setTimeout(() => {
          this.$router.push({ path: '/login' });
        }, 500);
       
    }
  };
</script>
  